package cn.rengy.auth;

import java.util.Collection;
import java.util.List;

public interface UserService {

    SysUser getSysUser(Long userId);

    List<String> getRoles(Long user_id);
    boolean hasRoles(Collection<String> roleIdentifiers);

    boolean hasRoles(Long userId,Collection<String> roleIdentifiers);

}
